package com.java.exer;

public enum PokerPoint {
    A(1), P2(2), P3(3), P4(4), P5(5), P6(6), P7(7), P8(8), P9(9), P10(10), J(11), Q(12), K(13);
    private int val;

    private PokerPoint(int val) {
        this.val = val;
    }

    public int getVal() {
        return val;
    }

    @Override
    public String toString() {
        return String.valueOf(this.getVal());
    }


}
